//
//  WHYNewsDetailImage.m
//  News163
//
//  Created by 王洪运 on 16/1/3.
//  Copyright © 2016年 王洪运. All rights reserved.
//

#import "WHYNewsDetailImage.h"

@implementation WHYNewsDetailImage

-(instancetype)initWithDict:(NSDictionary *)dict {
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+(instancetype)newsDetailImageWithDict:(NSDictionary *)dict {
    return [[self alloc] initWithDict:dict];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key {}

-(NSString *)description {
    NSString *desc = [NSString stringWithFormat:@"\nsrc : %@\npixel : %@\nref : %@",self.src, self.pixel, self.ref];
    return desc;
}

@end
